#!/bin/bash
set -e;
dest_dev=$1

if [ "${dest_dev}" == "" ];then
        echo "sample: scripts.sh /dev/sdb"
        exit 127
fi


sudo dd if=rr.img of=${dest_dev} bs=1M status=progress
